/* Nice Select Search Extension Styles */

/* Search option styling - integrates as first list item */
.nice-select .option.search-option {
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
  cursor: default;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nice-select .option.search-option:hover {
  background: #f8f9fa;
  color: inherit;
}

.nice-select-search {
  width: 100%;
  padding: 3px 7px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: white;
  transition: border-color 0.3s ease;
}

.nice-select-search:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.nice-select .option.no-results {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 12px;
}

/* Adjust nice-select list height and scrolling */
.nice-select .list {
  max-height: 250px;
  overflow-y: auto;
}

/* Scrollbar styling for the options list */
.nice-select .list::-webkit-scrollbar {
  width: 6px;
}

.nice-select .list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.nice-select .list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.nice-select .list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* For Firefox */
.nice-select .list {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}
